package design_7_bridge.demo1.bridge.impl;


import design_7_bridge.demo1.bridge.MsgServiceBridge;
import design_7_bridge.demo1.service.MsgService;


/**
  * 即时消息 , 直接调用
  * @author wangsong
  * @email  1720696548@qq.com
  * @date  2022/4/14 11:42
  */
public class InstantMsg extends MsgServiceBridge {

	public InstantMsg(String msgData, MsgService msgService) {
		super(msgData, msgService);
	}

	@Override
	public void sendMsg() {
		msgService.sendMsg(msgData);
	}

}